gdkscreen-x11: Enable RandR on VirtualBox
authorTakao Fujiwara <tfujiwar@redhat.com>
Fri, 9 Sep 2016 16:54:13 +0000 (01:54 +0900)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 9 Sep 2016 20:41:23 +0000 (16:41 -0400)
commitf2ba6ca47322a17b37fb92662fc9552b4f106f10
tree97517dbeeb0719fd4c07ac85838ec122f1869296
parent221caf19f7d6dff3350060a4f0b3c7f48611faf2
gdkscreen-x11: Enable RandR on VirtualBox

RandR 1.5 is enabled on VirtualBox guest of Fedora 25 but
XRROutputInfo->name is "default". If init_randr15() does not
return TRUE, the monitor size sets 0 because gdk_screen_get_width()
returns 0.

This problem causes GtkStatusIcon not to show the activate menu.

https://bugzilla.gnome.org/show_bug.cgi?id=771033
gdk/x11/gdkscreen-x11.c